package ttsolver.input;

import java.util.ArrayList;
import java.util.List;


public class ProblemData {
	private long id;
	private Territory territory;
	private List<Train> trainList;

	public ProblemData(){
		id = 0;
		territory = new Territory();
		setTrainList(new ArrayList<Train>());
	}
	
	// ------------------------------------------------
	// GET METHODS
	// ------------------------------------------------
	public long getId() {
		return id;
	}

	public Territory getTerritory() {
		return territory;
	}



	// ------------------------------------------------
	// SET METHODS
	// ------------------------------------------------
	public void setId(Long id) {
		this.id = id;
	}

	public void setTerritory(Territory territory) {
		this.territory = territory;
	}

	@Override
	public String toString() {
		return "[ProblemData] : {ProblemId:" + String.valueOf(id) + "}";
	}

	public List<Train> getTrainList() {
		return trainList;
	}

	public void setTrainList(List<Train> trainList) {
		this.trainList = trainList;
	}
}
